package top.abrsm.service;

import top.abrsm.entity.AddressEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 收货地址表 服务类
 * </p>
 * @author WuZH
 * @since 2023-11-18
 */
public interface IAddressService extends IService<AddressEntity> {

    List<AddressEntity> queryList (AddressEntity addressEntity);

    AddressEntity saveSingle (AddressEntity addressEntity);

    AddressEntity querySingle (AddressEntity addressEntity);

    AddressEntity updateDefaultAddress (AddressEntity addressEntity);

    AddressEntity updateSingle (AddressEntity addressEntity);

    AddressEntity deleteSingle (AddressEntity addressEntity);

}
